package com.hnas.eCard.dao;

import java.util.List;

import com.hnas.core.dao.BaseDao;
import com.hnas.eCard.orm.CommoditOrderDetail;
import com.hnas.eCard.service.dto.DTOCommoditOrder;

public interface CommoditOrderDetailDao extends BaseDao<CommoditOrderDetail>{

	CommoditOrderDetail saveOrUpdate(CommoditOrderDetail vo);

	CommoditOrderDetail findByOrderNo(String orderNo);

	boolean confirmConsume(String accId, String orderNo, String mrchId, String termNo, String termSno, String dealDate);

	List<DTOCommoditOrder> findOrderListByAccId(String accId, int pageNo, int pageSize, String stateStr);
}
